/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package test.pattern.checkFlow;

/**
 *
 * @author Administrator
 */
public class Client {

    public static void main(String[] args) {
        CheckFlowFactory cff = new ContractCheckFlowFactory();
        BillCheck check = cff.produceCheckFlow();
        check.pass();
        check.sendBack();
        check.cancelCheck();
    }
}
